package com.education.platform.api.vo.request;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.Date;
/**
* describe: 购买试卷
* @author : tomato
* @date: 2020-06-16 11:49:53.439
**/
@ApiModel()
@Getter
@Setter
@ToString
public class BuyPaperVO {

    /**
     * 商品id
     */
    @ApiModelProperty("id")
    @NotNull(message = "id必填")
	private Integer paperId;
    /**
     * 订单总价
     */
    @ApiModelProperty(value = "总价")
	private Float totalPrice;

    /**
     * 价格类型 1=豆子  2=积分
     */
    @ApiModelProperty(value = "价格类型 1=豆子  2=积分")
    @NotNull(message = "价格类型不能为空")
    private Integer priceType;

    

}
